// JavaScript Document



window.onload=function(){
	changimg(); 
	changeDaoh();
	
}
function changimg() {
	var a=document.getElementsByTagName("select");
	
	a[0].addEventListener('change',function(){
		document.getElementById("0").src=this.value; },false);
	a[1].addEventListener('change',function(){
		document.getElementById("1").src=this.value; },false);
	a[2].addEventListener('change',function(){
		document.getElementById("2").src=this.value; },false);
	a[3].addEventListener('change',function(){
		document.getElementById("3").src=this.value; },false);
	
}
function changeDaoh(){
	var li=document.getElementsByName("daoh");
	for(var i=0;i<=5;i++){
		li[i].onmouseover=function(){			
			changebg1(this);
		}
		li[i].onmouseout=function(){
			changebg2(this);
		}
	}
}